package backpage.service;

import backpage.entity.SalaryLevel;

import java.util.List;

public interface SalaryLevelService {
    List<SalaryLevel> getAllSalaryLevels();
    SalaryLevel getSalaryLevelById(Integer id);

    void updateSalaryLevel(SalaryLevel salaryLevel);
    void deleteSalaryLevel(Integer id);
    boolean isLevelNameExist(String name, Integer excludeId);
}